<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>投递记录</title>
    <link rel="stylesheet" href="../style/main.css" type="text/css" media="screen and (min-width:751px)">
    <link rel="stylesheet" href="../style/mainMb.css" type="text/css" media="screen and (max-width:750px)">
    <link rel="stylesheet" href="../js/layui/css/layui.css" media="all">
    <script src="../js/jquery-1.8.3.min.js"></script>
    <script src="../js/resize.js"></script>
    <script src="../js/jquery.cookie.js"></script>
    <script src="../js/vue@2.4.17.js"></script>
    <style>
        [v-cloak] {
            display: none;
        }
        .layui-tab-item p:first-child{
            padding:20px 0 0 20px;
        }

    </style>
</head>
<body style="background: #fff;">

<div class="personal-page wap-delivery" id="delivery" v-cloak>
    <div class="personal-header" >
        <ul class="nav">
            <li><a href="my-resume.html">我的简历</a></li>
            <li class="curr"><a href="delivery-record.html">投递记录</a></li>
            <li><a href="preview-resume.html">预览简历</a></li>
        </ul>
        <div class="options">
            <p>欢迎回来 <span> {{userInfo.name}}</span></p>
            <ul class="option-list">
                <li>
                    <a href="javascript:" onclick="logout()">
                        {{userInfo.name}}<span>{{userInfo.tel}}</span>
                    </a>
                </li>
                <li>
                    <a href="../password-alter.html">
                        <i><img src="../images/setting.png"></i>修改密码
                    </a>
                </li>
                <li>
                    <a href="javascript:" onclick="logout()">
                        <i><img src="../images/logout.png"></i>退出登录
                    </a>
                </li>
            </ul>
        </div>
    </div>
    <div class="wap-header">
        <a href="my-resume.html"><img src="../images/mobile/back.png"></a>
        <h2>我的投递</h2>
    </div>
    <div class="record-content">
        <h2>已投递简历状态</h2>

        <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">

            <ul class="layui-tab-title">
                <li class="layui-this">全部</li>
                <li>待处理</li>
                <li>待面试</li>
                <li>不合适</li>
                <li>已录取</li>
            </ul>

            <div class="layui-tab-content">
                <div class="layui-tab-item layui-show"  v-if="deliveryallcheck" >
                    <ul class="job-list">
                        <li v-for="item in deliveryall"> 
                                <a :href="'delivery-record-details.html?id=' + item.positionId ">
                           
                                <h2>
                                    {{item.positionName}}
                                    <span>{{item.createTime}}</span>
                                </h2>
                                <p class="pay">{{item.salaryLevelName}}</p>
                                <p class="company">
                                    <!-- <i><img src="../images/logo.png"></i> -->
                                    {{item.companyFullName}}
                                    <span v-if="item.status==0"  class="succ">投递成功</span>
                                    <span  v-else-if="item.status==4"  class="not-suit" >不合适</span>
                                    <span  v-else-if="item.status==1"  class="checked" >待处理</span>
                                    <span  v-else-if="item.status==2"  class="wait-interview" >待面试</span>
                                    <span  v-else-if="item.status==3"  class="succ" >已录取</span>
                                </p>
                            </a>
                        </li>
                    </ul>
                    <!-- <ul v-else>
                            暂无投递记录
                    </ul> -->
                    <div id="delivery_pagination" class="paging"></div>
                </div>
                <div class="layui-tab-item layui-show"  v-else >

                </div>


                <div class="layui-tab-item"  v-if="handlependingcheck">
                    <ul class="job-list" >
                        <li v-for="item in handlepending"> 
                            <a :href="'delivery-record-details.html?id=' + item.positionId ">
                                <h2>
                                    {{item.positionName}}
                                    <span>{{item.createTime}}</span>
                                </h2>
                                <p class="pay">{{item.salaryLevelName}}</p>
                                <p class="company">
                                    <i><img src="../images/logo.png"></i>
                                    {{item.companyFullName}}
                                    <span v-if="item.status==0"  class="succ">投递成功</span>
                                    <span  v-else-if="item.status==4"  class="not-suit" >不合适</span>
                                    <span  v-else-if="item.status==1"  class="checked" >待处理</span>
                                    <span  v-else-if="item.status==2"  class="wait-interview" >待处理</span>
                                    <span  v-else-if="item.status==3"  class="succ" >已录取</span>
                                </p>
                            </a>
                        </li>
                    </ul>
                    <!-- <ul v-else>
                            暂无投递记录
                    </ul> -->
                    <div id="handlepending_pagination" class="paging"></div>
                </div>
                <div class="layui-tab-item"  v-else >
                        <p>暂无投递记录</p>
                </div>


                <div class="layui-tab-item" v-if="interviewpendingcheck">
                    <ul class="job-list" >
                        <li v-for="item in interviewpending"> 
                            <a :href="'delivery-record-details.html?id=' + item.positionId ">
                                <h2>
                                    {{item.positionName}}
                                    <span>{{item.createTime}}</span>
                                </h2>
                                <p class="pay">{{item.salaryLevelName}}</p>
                                <p class="company">
                                    <i><img src="../images/logo.png"></i>
                                    {{item.companyFullName}}
                                    <span v-if="item.status==0"  class="succ">投递成功</span>
                                    <span  v-else-if="item.status==4"  class="not-suit" >不合适</span>
                                    <span  v-else-if="item.status==1"  class="checked" >待处理</span>
                                    <span  v-else-if="item.status==2"  class="wait-interview" >待处理</span>
                                    <span  v-else-if="item.status==3"  class="succ" >已录取</span>
                                </p>
                            </a>
                        </li>
                    </ul>
                    <!-- <ul v-else>
                            暂无投递记录
                    </ul> -->
                    <div id="interviewpending_pagination" class="paging"></div> 
                </div>
                <div class="layui-tab-item"  v-else >
                    <p>暂无投递记录</p>
                </div>


                <div class="layui-tab-item" v-if="unsuitedcheck">
                    <ul class="job-list" >
                        <li v-for="item in unsuited"> 
                            <a :href="'delivery-record-details.html?id=' + item.positionId ">
                                <h2>
                                    {{item.positionName}}
                                    <span>{{item.createTime}}</span>
                                </h2>
                                <p class="pay">{{item.salaryLevelName}}</p>
                                <p class="company">
                                    <i><img src="../images/logo.png"></i>
                                    {{item.companyFullName}}
                                    <span v-if="item.status==0"  class="succ">投递成功</span>
                                    <span  v-else-if="item.status==4"  class="not-suit" >不合适</span>
                                    <span  v-else-if="item.status==1"  class="checked" >待处理</span>
                                    <span  v-else-if="item.status==2"  class="wait-interview" >待处理</span>
                                    <span  v-else-if="item.status==3"  class="succ" >已录取</span>
                                </p>
                            </a>
                        </li>
                    </ul>
                    <!-- <ul v-else>
                            暂无投递记录
                    </ul> -->
                    <div id="unsuited_pagination" class="paging"></div> 
                </div>
                <div class="layui-tab-item"  v-else >
                    <p>暂无投递记录</p>
                </div>

                <div class="layui-tab-item" v-if="admissioncheck">
                    <ul class="job-list" >
                        <li v-for="item in admission">
                            <a :href="'delivery-record-details.html?id=' + item.positionId ">
                                <h2>
                                    {{item.positionName}}
                                    <span>{{item.createTime}}</span>
                                </h2>
                                <p class="pay">{{item.salaryLevelName}}</p>
                                <p class="company">
                                    <i><img src="../images/logo.png"></i>
                                    {{item.companyFullName}}
                                    <span v-if="item.status==0"  class="succ">投递成功</span>
                                    <span  v-else-if="item.status==4"  class="not-suit" >不合适</span>
                                    <span  v-else-if="item.status==1"  class="checked" >待处理</span>
                                    <span  v-else-if="item.status==2"  class="wait-interview" >待处理</span>
                                    <span  v-else-if="item.status==3"  class="succ" >已录取</span>
                                </p>
                            </a>
                        </li>
                    </ul>
                    <!-- <ul v-else>
                            暂无投递记录
                    </ul> -->
                    <div id="admission_pagination" class="paging"></div>
                </div>
                <div class="layui-tab-item"  v-else >
                    <p>暂无投递记录</p>
                </div>


            </div>
        </div>
    </div>
</div>
<script src="../js/layui/layui.js"></script>
<script src="../js/index.js"></script>
<script src="../js/account/delivery_record.js"></script>
</body>
</html>